<?php

namespace addons\xpframework\library\xcore\xcore\utils;

/**
 * Assert的工具封装类
 */
class XcAssertUtils
{
    public static function assertNotNull($value, $message = 'AssertNotNull Error', $debugMessage = null)
    {
        if (empty($value)) {
            throw new XcException($message, 0, null, $debugMessage);
        }
    }
}
